package com.mdinic.blogovi.service;

import java.util.List;

import com.mdinic.blogovi.model.BlogPost;
import com.mdinic.blogovi.model.BlogType;
import com.mdinic.blogovi.model.Comment;
import com.mdinic.blogovi.model.Person;
import com.mdinic.blogovi.service.model.BlogPostResult;

public interface BlogPostService {

    BlogPost vote(Person person, BlogPost blogPost, boolean voteUp);

    Boolean fav(Person person, BlogPost blogPost);

    BlogPostResult post(BlogPost blogPost);

    List<BlogType> getBlogTypes();

    BlogPost addComment(Comment comment);

    String getTitle(String url);

    Boolean share(Person person, BlogPost modelObject);

    void markRead(Person person, BlogPost blogPost);

}
